.spectrum-Dropdown {
  position: relative;
  display: inline-block;
  max-width: 100%;
  width: var(--spectrum-global-dimension-size-2400);
  min-width: var(--spectrum-dropdown-min-width, var(--spectrum-global-dimension-size-600));
}

.spectrum-Dropdown select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    -ms-appearance: none;
  }

.spectrum-Dropdown select::-ms-expand {
      display: none;
    }

.spectrum-Dropdown select::-ms-value {
      background-color: transparent;
    }

[dir="ltr"] .spectrum-Dropdown select + .spectrum-Dropdown-icon {
      right: var(--spectrum-dropdown-padding-x, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-Dropdown select + .spectrum-Dropdown-icon {
      left: var(--spectrum-dropdown-padding-x, var(--spectrum-global-dimension-size-150));
}

.spectrum-Dropdown select + .spectrum-Dropdown-icon {
      position: absolute;
      top: 50%;
      margin-top: calc(var(--spectrum-icon-chevron-down-medium-height, var(--spectrum-global-dimension-size-75)) / -2);
    }

.spectrum-Dropdown-trigger {
  position: relative;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
}

[dir="ltr"] .spectrum-Dropdown-label {
  text-align: left;
}

[dir="rtl"] .spectrum-Dropdown-label {
  text-align: right;
}

.spectrum-Dropdown-label {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;

  white-space: nowrap;
  overflow: hidden;

  height: calc(var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2);
  line-height: calc(var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2);

  font-size: var(--spectrum-dropdown-text-size, var(--spectrum-alias-font-size-default));

  text-overflow: ellipsis;
}

.spectrum-Dropdown-label.is-placeholder {
    font-weight: var(--spectrum-dropdown-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular));
    font-style: var(--spectrum-dropdown-placeholder-text-font-style, var(--spectrum-global-font-style-italic));
    transition: color var(--spectrum-global-animation-duration-100, 130ms) ease-in-out;
  }

[dir="ltr"] .spectrum-Dropdown-label + .spectrum-Dropdown-icon {
  margin-left: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-Dropdown-label + .spectrum-Dropdown-icon {
  margin-right: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

[dir="ltr"] .spectrum-Icon + .spectrum-Dropdown-label {
  margin-left: var(--spectrum-selectlist-thumbnail-image-padding-x, var(--spectrum-global-dimension-size-100));
}

[dir="rtl"] .spectrum-Icon + .spectrum-Dropdown-label {
  margin-right: var(--spectrum-selectlist-thumbnail-image-padding-x, var(--spectrum-global-dimension-size-100));
}

[dir="ltr"] .spectrum-Dropdown-label ~ .spectrum-Dropdown-icon {
  margin-left: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-Dropdown-label ~ .spectrum-Dropdown-icon {
  margin-right: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

.spectrum-Dropdown-icon {
  display: inline-block;
  position: relative;
  vertical-align: top;
  transition: color var(--spectrum-global-animation-duration-100, 130ms) ease-out;
  margin-top: calc((var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2 - var(--spectrum-icon-chevron-down-medium-height, var(--spectrum-global-dimension-size-75))) / 2);
  margin-bottom: calc((var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2 - var(--spectrum-icon-chevron-down-medium-height, var(--spectrum-global-dimension-size-75))) / 2);

  opacity: 1;
}

.spectrum-Dropdown-trigger .spectrum-Icon:not(.spectrum-Dropdown-icon) {
  margin-top: calc((var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2 - var(--spectrum-dropdown-icon-size, var(--spectrum-alias-workflow-icon-size))) / 2);
    margin-bottom: calc((var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin)) * 2 - var(--spectrum-dropdown-icon-size, var(--spectrum-alias-workflow-icon-size))) / 2);
  }

[dir="ltr"] .spectrum-Dropdown-trigger .spectrum-Dropdown-label + .spectrum-Icon:not(.spectrum-Dropdown-icon) {
    margin-left: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

[dir="rtl"] .spectrum-Dropdown-trigger .spectrum-Dropdown-label + .spectrum-Icon:not(.spectrum-Dropdown-icon) {
    margin-right: var(--spectrum-dropdown-icon-margin-left, var(--spectrum-global-dimension-size-150));
}

[dir="ltr"] .spectrum-Icon + .spectrum-Dropdown-icon {
  margin-left: var(--spectrum-dropdown-icon-gap, var(--spectrum-global-dimension-size-100));
}

[dir="rtl"] .spectrum-Icon + .spectrum-Dropdown-icon {
  margin-right: var(--spectrum-dropdown-icon-gap, var(--spectrum-global-dimension-size-100));
}

.spectrum-Dropdown--quiet {
  width: auto;
  min-width: var(--spectrum-dropdown-quiet-min-width, var(--spectrum-global-dimension-size-600));
}

.spectrum-Dropdown-popover {
  max-width: var(--spectrum-global-dimension-size-3000);
}

[dir="ltr"] .spectrum-Dropdown-popover--quiet {
  margin-left: calc(-1 * (var(--spectrum-dropdown-quiet-popover-offset-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin))));
}

[dir="rtl"] .spectrum-Dropdown-popover--quiet {
  margin-right: calc(-1 * (var(--spectrum-dropdown-quiet-popover-offset-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin))));
}

.spectrum-Dropdown .spectrum-Dropdown-trigger:hover .spectrum-Dropdown-icon {
      color: var(--spectrum-dropdown-icon-color-hover, var(--spectrum-alias-icon-color-hover));
    }

.spectrum-Dropdown .spectrum-Dropdown-trigger.is-selected .is-placeholder {
        color: var(--spectrum-dropdown-placeholder-text-color-down, var(--spectrum-global-color-gray-900));
      }

.spectrum-Dropdown.is-invalid .spectrum-Icon:not(.spectrum-Dropdown-icon):not(.spectrum-Menu-checkmark) {
      color: var(--spectrum-dropdown-validation-icon-color-error, var(--spectrum-semantic-negative-color-icon));
    }

.spectrum-Dropdown.is-invalid.is-disabled .spectrum-Icon,
      .spectrum-Dropdown.is-invalid.is-disabled .spectrum-Icon:not(.spectrum-Dropdown-icon):not(.spectrum-Menu-checkmark) {
        color: var(--spectrum-dropdown-icon-color-disabled, var(--spectrum-alias-icon-color-disabled));
      }

.spectrum-Dropdown.is-disabled .spectrum-Dropdown-icon, .spectrum-Dropdown.is-disabled .spectrum-Dropdown-trigger:hover .spectrum-Dropdown-icon {
        color: var(--spectrum-dropdown-icon-color-disabled, var(--spectrum-alias-icon-color-disabled));
      }

.spectrum-Dropdown.is-disabled .spectrum-Dropdown-label.is-placeholder {
        color: var(--spectrum-dropdown-placeholder-text-color-disabled, var(--spectrum-alias-text-color-disabled));
      }

.spectrum-Dropdown-icon {
  color: var(--spectrum-dropdown-icon-color, var(--spectrum-alias-icon-color));
}

.spectrum-Dropdown-label.is-placeholder {
    color: var(--spectrum-dropdown-placeholder-text-color, var(--spectrum-alias-placeholder-text-color));
  }

.spectrum-Dropdown-label.is-placeholder:hover {
      color: var(--spectrum-dropdown-placeholder-text-color-hover, var(--spectrum-alias-placeholder-text-color-hover));
    }

.spectrum-Dropdown-label.is-placeholder:active {
      color: var(--spectrum-dropdown-placeholder-text-color-mouse-focus, var(--spectrum-global-color-gray-900));
    }

.spectrum-Dropdown-trigger.focus-ring .spectrum-Dropdown-label.is-placeholder {
    color: var(--spectrum-dropdown-placeholder-text-color-key-focus, var(--spectrum-alias-placeholder-text-color-hover));
  }

.spectrum-Dropdown-trigger.focus-ring .spectrum-Dropdown-icon {
    color: var(--spectrum-dropdown-icon-color-key-focus, var(--spectrum-alias-icon-color-focus))
  }
